<?php

namespace app\store\model;

use think\Model;
use think\model\concern\SoftDelete;

class OfflineShopGoods extends Model
{
    use SoftDelete;
    protected $deleteTime = 'delete_time';
    protected $defaultSoftDelete = 0;
    protected $autoWriteTimestamp = 'int';
    protected $createTime = 'create_time';
    public function getCreateTimeAttr($value)
    {
        return date('Y-m-d H:i:s', $value);
    }
   

}